package com.soft.line.mapper;

import com.soft.line.entity.LasUserInfo;
import com.soft.line.entity.UserConDep;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserConDepMapper {

    List<LasUserInfo> selectAllUser(@Param("userName")String userName);

    List<String> selectAllConDep(@Param("userId")Integer userId);

    int insert(@Param("userId")Integer userId, @Param("contractDepartmentId") String contractDepartmentId,@Param("modifyPerson") String modifyPerson);

    int deleteByUserId(Integer userId);
}
